package com.hui;

public interface Biulder {

    Bike bike = new Bike();

    void biudCheZuo();

    void biuudCheJia();

    Bike createBike();

}

class MobileBiulder implements Biulder {
    @Override
    public void biudCheZuo() {
        bike.setCheZuo("纤维车座");
    }

    @Override
    public void biuudCheJia() {
        bike.setCheJia("真皮车架");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}


class OfoBiulder implements Biulder {
    @Override
    public void biudCheZuo() {
        bike.setCheZuo("石墨车座");
    }

    @Override
    public void biuudCheJia() {
        bike.setCheJia("铁车架");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}